import request from '../utils/http'
// 登录
export const reqLogin = (code) => request.get('/weixin/wxLogin/' + code)
// 获取用户信息
export const reqUserInfo = () => request.get('/weixin/getuserInfo')
// 上传
export const reqUploadFile = (filePath, name) => request.upload('/fileUpload', filePath, name)
// 更新
export const reqUpdateUserInfo = (data) => request.post('/weixin/updateUser', data)
